<!DOCTYPE html>
<meta charset="utf-8" />
<title>Text with same color as parent background</title>

<style>
  #parent { background: gray }
  p { color: gray }
</style>

<div id="parent">
  <p>
    Should not be visible
  </p>
</div>g
